/**
 * @description: token操作
 * @author: lxz
 * @update: lxz(2021-02-01)
 */
import { storage } from 'zjy-ui/lib/utils'

const accessTokenKey = 'token'
const localStor = storage.localStorage
export function getToken() {
	return localStor.getItem(accessTokenKey)
}

export function setToken(token) {
	localStor.setItem(accessTokenKey, token)
}

export function removeToken() {
	return localStor.removeItem(accessTokenKey)
}
